﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section Head
{
}
<div class="layui-form childrenBody" id="modify-form" style="width:95%;">
    <div class="layui-row layui-col-xs11">
        <div class="layui-col-xs9">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <input type="hidden" class="layui-input" name="ID">
                    <label class="layui-form-label">员工姓名：</label>
                    <div class="layui-input-block">
                        <input type="text" class="layui-input" lay-verify="required" id="Name" name="Name" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别：</label>
                    <div class="layui-input-block" style="width:177px">
                        <select name="Sex" id="Sex">
                            <option value="0">未知</option>
                            <option value="1">男</option>
                            <option value="2">女</option>
                        </select>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">职&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;务：</label>
                    <div class="layui-input-block">
                        <input type="text" class="layui-input" lay-verify="required" id="Post" name="Post" />
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">信用等级：</label>
                    <div class="layui-input-block" style="width:177px">
                        <select name="Credit" id="Credit">
                            <option value="0">差</option>
                            <option value="1">一般</option>
                            <option value="2">良好</option>
                            <option value="3">很好</option>
                        </select>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">工&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;种：</label>
                    <div class="layui-input-block">
                        <input type="text" class="layui-input" lay-verify="required" id="WorkType" name="WorkType" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">员工类别：</label>
                    <div class="layui-input-block" style="width:177px">
                        <select name="MID" id="MID" lay-filter="MID" >
                            <option value="1">日薪</option>
                            <option value="2">月薪</option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">联系电话：</label>
                    <div class="layui-input-block">
                        <input type="text" class="layui-input" lay-verify="required" id="Phone" name="Phone" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">身份证号：</label>
                    <div class="layui-input-block">
                        <input type="text" class="layui-input" lay-verify="required" id="Code" name="Code" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">所在项目：</label>
                    <div class="layui-input-block" style="width:177px">
                        <select name="ProjectNo" id="ProjectNo">
                        </select>
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">所属机构：</label>
                    <div class="layui-input-block">
                        <input type="text" class="layui-input" lay-verify="required" id="OrgaizeName" name="OrgaizeName" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">开户银行：</label>
                    <div class="layui-input-block">
                        <input type="text" class="layui-input" lay-verify="required" id="BankName" name="BankName" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">银行账户：</label>
                    <div class="layui-input-block">
                        <input type="text" class="layui-input" lay-verify="required" id="BankNo" name="BankNo" />
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-col-xs2">
            <div class="layui-upload-list">
                <img class="layui-upload-img userFaceBtn userAvatar" style="width:142px;height:166px;" id="userFace" src="~/Images/face.jpg" name="PicUrl">
            </div>
            <button type="button" class="layui-btn layui-btn-primary userFaceBtn" style="width:142px;"><i class="layui-icon">&#xe67c;</i>换个照片</button>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">家庭住址：</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" lay-verify="required" id="Address" name="Address" />
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">亲属姓名：</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" lay-verify="required" id="CrashPerson" name="CrashPerson" />
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">联系电话：</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" lay-verify="required" id="CrashPhone" name="CrashPhone" />
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">是否在职：</label>
            <div class="layui-input-block">
                <input type="checkbox" name="ZTBS" id="ZTBS" lay-skin="switch" lay-text="在职|离职">
            </div>
        </div>
    </div>

    <div class="layui-row layui-col-xs11" id="dailySalarySetting">
        <fieldset class="layui-elem-field layui-field-title">
            <legend>日薪设置</legend>
        </fieldset>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">每日工资：</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input" lay-verify="required|number" value="0" id="DayMoney" name="DayMoney" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">小时工资：</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input" lay-verify="required|number" value="0" id="OverMoney" name="OverMoney" />
                </div>
            </div>
        </div>
    </div>
    <div class="layui-row layui-col-xs11" id="monthlySalarySetting">
        <fieldset class="layui-elem-field layui-field-title">
            <legend>月薪设置</legend>
        </fieldset>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">基本工资：</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input" lay-verify="required|number" value="0" id="MonthMoney" name="MonthMoney" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">工位工资：</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input" lay-verify="required|number" value="0" id="PostMoney" name="PostMoney" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">社保缴费：</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input" lay-verify="required|number" value="0" id="SocialMoney" name="SocialMoney" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">公积金：</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input" lay-verify="required|number" value="0" id="HouseMoney" name="HouseMoney" />
                </div>
            </div>
        </div>
    </div>
    <div class="layui-row layui-col-xs11">

        <div class="layui-form-item">
            <label class="layui-form-label">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注：</label>
            <div class="layui-input-block">
                <textarea class="layui-textarea" lay-verify="required" name="Descrption" placeholder="请输入备注" style="min-height:70px"></textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"></label>
            <button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="modifyButton">立即提交</button>
            <button lay-btn="" class="layui-btn layui-btn-sm" id="btnClose">关闭</button>
        </div>
    </div>
</div>
@section Foot
{
    <script src="~/Areas/Staff/js/employee.modify.js"></script>
}
